﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Manager.DataBase;

namespace BML.Infrastructure.Interface
{
    /// <summary>
    ///     人脉积分
    /// </summary>
    public interface IPoint
    {
        /// <summary>
        ///     创建积分节点
        /// </summary>
        void CreatePointNode(IDbContext db, Guid memberShipGuid);

        /// <summary>
        ///     变更积分
        /// </summary>
        void ChangePoint();

        /// <summary>
        ///     查询当前节点的父节点
        /// </summary>
        /// <typeparam name="TEntity"></typeparam>
        /// <returns></returns>
        IList<TEntity> QueryParent<TEntity>();



    }
}
